/*
 * Lenovo Group
 * Copyright (c) 2015-2016 All Rights Reserved.
 * 
 * Project Name:lmrp-api
 * Create Time: 2016年3月5日 下午10:54:13
 */
package com.lenovo.lmrp.api.eventrecorder;

import java.util.List;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

import com.lenovo.lmrp.api.model.RestResponse;
import com.lenovo.lmrp.api.model.view.TicketEventVO;

/**
 * 
 * @author wujin
 * @version v1.0
 */
@Consumes("application/json;charset-utf-8")
@Produces("application/json;charset-utf-8")
public interface IEventQuery {
    
    @GET
    @Path("/{itsmcode}/tickets/{ticketid}/events")
    public RestResponse<List<TicketEventVO>> getTicketEvents(@PathParam("itsmcode") String itsmCode, 
                                                @PathParam("ticketid") String ticketID);
}
